package com.wang.user.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 菜品
 * @TableName dishes
 */
@TableName(value ="dishes")
@Data
public class Dishes {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "关联的商铺id")
    private Long id;

    /**
     * 关联的商铺id
     */
    @TableField(value = "shop_id")
    @ApiModelProperty(value = "关联的商铺id")
    private Long shopId;

    /**
     * 菜品名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "菜品名称")
    private String name;

    /**
     * 菜品价格
     */
    @TableField(value = "price")
    @ApiModelProperty(value = "菜品价格")
    private String price;

    /**
     * 菜品描述
     */
    @TableField(value = "description")
    @ApiModelProperty(value = "菜品描述")
    private String description;

    /**
     * 菜品封面url
     */
    @TableField(value = "image_url")
    @ApiModelProperty(value = "菜品封面url")
    private String imageUrl;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}